package com.heu.blood.recycle.service;

import com.heu.blood.common.utils.PageUtils;
import com.heu.blood.recycle.entity.BloodTrackEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ysl
 * @since 2023-07-05
 */
public interface BloodTrackService extends IService<BloodTrackEntity> {

    PageUtils queryPage(Map<String, Object> params);


    BloodTrackEntity queryByBloodId(String bloodId);

    @Transactional
    Boolean dispatch(BloodTrackEntity bloodTrackEntity);

    @Transactional
    Boolean dispatchBatch(List<BloodTrackEntity> bloodTrackEntityList);
}
